/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: ComStackCfg.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: ComStack
*
* Generation Time: 2025-02-04 15:31:15
*
*******************************************************************************/

#ifndef COMSTACKCFG_H
#define COMSTACKCFG_H

/** HEADER FILES **/
#include "ComStackType.h"
#include "ComStackRte.h" 


/** MACRO DEFINITION **/
#define ComStackConf_NetworkHandleId_0 ((NetworkHandleType)0u)
#define ComStackConf_NetworkHandleId_Max ((NetworkHandleType)1u)


#define ComStackConf_PduId_Tx_Channel1_Qsar_Qsar_Can4  0u
#define ComStackConf_PduId_Tx_Channel1_Qsar_Qsar_Can3  1u
#define ComStackConf_PduId_Tx_Channel1_Qsar_Qsar_NM  2u
#define ComStackConf_PduId_Tx_Channel1_Qsar_Qsar_Xcp  3u
#define ComStackConf_PduId_Tx_Channel1_Qsar_DiagPhysResponse  4u
#define ComStackConf_PduId_Tx_Channel1_Qsar_Qsar_Can2  5u
#define ComStackConf_PduId_Tx_Channel1_Qsar_Qsar_Can1  6u
#define ComStackConf_PduId_Rx_Channel1_Other_Other_Can3  7u
#define ComStackConf_PduId_Rx_NM  8u
#define ComStackConf_PduId_Rx_Tester_Xcp  9u
#define ComStackConf_PduId_Rx_Channel1_Tester_DiagFuncRequest  10u
#define ComStackConf_PduId_Rx_Channel1_Tester_DiagPhysRequest  11u
#define ComStackConf_PduId_Rx_Channel1_Other_Other_Can2  12u
#define ComStackConf_PduId_Rx_Channel1_Other_Other_Can1  13u
#define ComStackConf_PduId_Max  14u


/** TYPEDEF DEFINITION **/
typedef struct
{
    uint8 MetaDataItemLength;
    uint8 MetaDataItem[8u];
}MetaDataType;


typedef struct
{
    uint32 PduLength;
    MetaDataType* MetaDataTypeRef;
}PduType;


/** GLOBAL DATA DEFINITION **/
extern PduType Pdu[ComStackConf_PduId_Max];



#endif
